package SystemManagement;

import Const.Constant;
import RecordManagement.ScanType;

public class DataAttrInfo_indexcat {
	public DataAttrInfo indexcat[] = new DataAttrInfo[3];
	public int attr_count = 3;
	
	public DataAttrInfo_indexcat(){
		Constant c = new Constant();
		
		indexcat[0] = new DataAttrInfo();
		indexcat[0].relName = "indexcat";
		indexcat[0].attrName = "relName";
		indexcat[0].attrType = ScanType.TYPE_STRING;
		indexcat[0].attrLength = c.MAXNAME;
		indexcat[0].offset = 0;
		
		indexcat[1] = new DataAttrInfo();
		indexcat[1].relName = "indexcat";
		indexcat[1].attrName = "indexName";
		indexcat[1].attrType = ScanType.TYPE_STRING;
		indexcat[1].attrLength = c.MAXNAME;
		indexcat[1].offset = c.MAXNAME;
		
		indexcat[2] = new DataAttrInfo();
		indexcat[2].relName = "indexcat";
		indexcat[2].attrName = "indexNo";
		indexcat[2].attrType = ScanType.TYPE_INT;
		indexcat[2].attrLength = c.INTSIZE;
		indexcat[2].offset = c.MAXNAME*2;
	}
}
